package com.zhixing.common.domain.entity;

import com.zhixing.common.domain.enums.DriverStatus;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class DriverInfo {

    /**
     * 司机id
     * @example 1
     */
    @NotNull(message = "司机id不能为空")
    private Integer driverId;

    /**
     * 司机状态：0-空闲，1-忙碌
     * @example 0
     */
    @NotNull(message = "司机状态不能为空")
    private DriverStatus driverStatus;
}
